import { ref, computed } from 'vue'
import { defineStore } from 'pinia'

export const useCounterStore = defineStore('showmahjong', () => {
  const showpoupmah = ref(false)
  function changeshowmah() {
    showpoupmah.value= !showpoupmah.value
  }

  const showpoupevent = ref(false)
  function changeshowevent() {
    showpoupevent.value= !showpoupevent.value
  }

  return { showpoupmah, changeshowmah, showpoupevent, changeshowevent }
})
